
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGShaderParameterString.h>
#include <OpenSG/OSGShaderParameterStringBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ShaderParameterString_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_ShaderParameterString()
{
    scope* osg_ShaderParameterStringBase_scope = new scope(
    class_< osg::ShaderParameterStringBase, bases< osg::ShaderParameter > , boost::noncopyable >("ShaderParameterStringBase", no_init)
//        .def_readonly("ValueFieldMask", &osg::ShaderParameterStringBase::ValueFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::ShaderParameterStringBase::MTInfluenceMask)
        .def("getClassType", &osg::ShaderParameterStringBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::ShaderParameterStringBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::ShaderParameterStringBase::*)() )&osg::ShaderParameterStringBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::ShaderParameterStringBase::*)() const)&osg::ShaderParameterStringBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::ShaderParameterStringBase::getContainerSize)
        //.def("getValue", (std::string& (osg::ShaderParameterStringBase::*)() )&osg::ShaderParameterStringBase::getValue, return_value_policy< copy_const_reference >())
        .def("getValue", (const std::string& (osg::ShaderParameterStringBase::*)() const)&osg::ShaderParameterStringBase::getValue, return_value_policy< copy_const_reference >())
        .def("setValue", &osg::ShaderParameterStringBase::setValue)
        .def("getBinSize", &osg::ShaderParameterStringBase::getBinSize)
        .def("copyToBin", &osg::ShaderParameterStringBase::copyToBin)
        .def("copyFromBin", &osg::ShaderParameterStringBase::copyFromBin)
        .def("create", &osg::ShaderParameterStringBase::create)
        .def("createEmpty", &osg::ShaderParameterStringBase::createEmpty)
        .def("shallowCopy", &osg::ShaderParameterStringBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::ShaderParameterStringBase::NextFieldId;
    scope().attr("ValueFieldId") = (int)osg::ShaderParameterStringBase::ValueFieldId;

    delete osg_ShaderParameterStringBase_scope;

    class_< osg::ShaderParameterString, bases< osg::ShaderParameterStringBase > , boost::noncopyable, osg::ShaderParameterStringRefPtr >("ShaderParameterString", no_init)
        .def("changed", &osg::ShaderParameterString::changed)
        .def("dump", &osg::ShaderParameterString::dump, osg_ShaderParameterString_dump_overloads_0_2())
    ;


    register_ptr_to_python<osg::ShaderParameterStringPtr>();
    implicitly_convertible<osg::ShaderParameterStringRefPtr, osg::ShaderParameterStringPtr>();
    implicitly_convertible<osg::ShaderParameterStringPtr, osg::ShaderParameterPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::ShaderParameterStringPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::ShaderParameterStringPtr>);
}

